package com.cmii.sjw.department.control.jsc.model.dto;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ReportActivityDTO {

    @NotBlank(message = "单位组织不能为空")
    private String organizationName;

    @NotBlank(message = "系统来源不能为空")
    private String applicationSystemName;

    @NotNull(message = "月活用户数不能为空")
    @Min(value = 1, message = "月活用户数必须大于0")
    private Integer monthActivityUserNum;

    @NotNull(message = "月办件数不能为空")
    @Min(value = 0, message = "月办件数不能为负")
    private Integer monthDoneEventNum;

    @NotBlank(message = "签名不能为空")
    private String signContent;

    /*@NotNull(message = "时间戳不能为空")
    @Min(value = 1, message = "无效的时间戳")
    private Long reportTime;*/

    @NotNull(message = "目标用户数不能为空")
    @Min(value = 0, message = "目标用户数不能为负")
    private Integer monthTargetUserNum;

}